package com.hy.entitys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
    * 网站仓库表
    * </p>
*
* @author zhanghongyang
* @since 2019-06-16
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("web_storage")
    @ApiModel(value="WebStorageEntity对象", description="网站仓库表")
    public class WebStorageEntity extends Model<WebStorageEntity> {

    private static final long serialVersionUID = 1L;

    private Integer id;
            @ApiModelProperty(value = "网站名称")
    private String name;

            @ApiModelProperty(value = "网址")
    private String url;

            @ApiModelProperty(value = "字符编码")
    private String charset;

            @ApiModelProperty(value = "章节抓取规则")
    private String chapterSelect;

            @ApiModelProperty(value = "章节内容选择器")
    private String contentSelect;

            @ApiModelProperty(value = "内容分割符")
    private String contentSplit;

            @ApiModelProperty(value = "搜索地址")
    private String findUrl;

            @ApiModelProperty(value = "搜索选择器")
    private String findSelect;

            @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

            @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
